package com.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.blog.entity.SysMessage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author cgx
 * @Date 2022/3/25 22:55
 */
@Mapper
public interface SysMessageMapper extends BaseMapper<SysMessage> {

    /**
     * 查询个人未读消息
     * @param map
     * @return
     */
    List<Map<String, Object>> queryUserNewMessage(Map<String, Object> map);
}
